package com.sys.basics.service.impl;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import com.sys.basics.entity.SysDict;
import com.sys.basics.dao.SysDictDao;
import com.sys.basics.service.SysDictService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * @author: ares
 * @date: 2021-10-08
 * @description: 字典表 服务实现类
 */
@Slf4j
@Service
public class SysDictServiceImpl extends ServiceImpl<SysDictDao, SysDict> implements SysDictService {
    @Autowired
	SysDictDao sysDictDao;

    @Override
    public List<SysDict> getByType(String type) {
        return sysDictDao.getByType(type);
    }

    @Override
    public List<SysDict> getByTypes(List<String> types) {
        return sysDictDao.getByTypes(types);
    }

    @Override
    public List<SysDict> getChildrenOrgType(String orgTypeK) {
        return sysDictDao.getChildrenOrgType(orgTypeK);
    }
}
